package com.ruoyi.system.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.ali404.UserInfo;
import com.ruoyi.system.mapper.Ali404UserMapper;
import com.ruoyi.system.mapper.SysConfigMapper;
import com.ruoyi.system.service.Ali404UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@DataSource(value = DataSourceType.SLAVE)
public class Ali404UserServiceImpl implements Ali404UserService {

    @Autowired
    private Ali404UserMapper ali404Mapper;


    @Override
    public Integer getAiTools(Long id) {
        return ali404Mapper.getAiTools(id);
    }
}
